package com.ruoyi.safe.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合作单位-银行信息对象 common_cooperator_bank
 * 
 * @author ruoyi
 * @date 2023-11-08
 */
public class CommonCooperatorBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 合作单位ID */
    @Excel(name = "合作单位ID")
    private Long cooperatorId;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String bankAccount;

    /** 开户行名称 */
    @Excel(name = "开户行名称")
    private String openBankName;

    /** 分行名称 */
    @Excel(name = "分行名称")
    private String branchName;

    /** 银联号 */
    @Excel(name = "银联号")
    private String unionpayAccount;

    /** 分类状态（0正常 1停用） */
    @Excel(name = "分类状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCooperatorId(Long cooperatorId) 
    {
        this.cooperatorId = cooperatorId;
    }

    public Long getCooperatorId() 
    {
        return cooperatorId;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setBankAccount(String bankAccount) 
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount() 
    {
        return bankAccount;
    }
    public void setOpenBankName(String openBankName) 
    {
        this.openBankName = openBankName;
    }

    public String getOpenBankName() 
    {
        return openBankName;
    }
    public void setBranchName(String branchName) 
    {
        this.branchName = branchName;
    }

    public String getBranchName() 
    {
        return branchName;
    }
    public void setUnionpayAccount(String unionpayAccount) 
    {
        this.unionpayAccount = unionpayAccount;
    }

    public String getUnionpayAccount() 
    {
        return unionpayAccount;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cooperatorId", getCooperatorId())
            .append("bankName", getBankName())
            .append("bankAccount", getBankAccount())
            .append("openBankName", getOpenBankName())
            .append("branchName", getBranchName())
            .append("unionpayAccount", getUnionpayAccount())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
